
#include "CamConnect.h"

CCamConnect *g_pCamConnect = NULL;
CCamConnect::CCamConnect(void)
{
	m_pCmdToDev = NULL;
	m_pCmdToDev = new CSendCmdToDev;

//	m_devParam.m_pCmdToDev = m_pCmdToDev;
	m_CamOperate.m_pCmdToDev = m_pCmdToDev;
	m_CamOperate.Open();
}

CCamConnect::~CCamConnect(void)
{
	if (NULL != m_pCmdToDev)
	{
		delete m_pCmdToDev;
	//	m_devParam.m_pCmdToDev = NULL;
		m_CamOperate.m_pCmdToDev = NULL;
		m_pCmdToDev = NULL;
	}
}



